<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BOSS Afterburner: FitPars.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BOSS Afterburner
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('FitPars_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">FitPars.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="FitPars_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef BOSS_Afterburner_FitPars_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define BOSS_Afterburner_FitPars_H</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// * ========================= * //</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// * ------- LIBRARIES ------- * //</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// * ========================= * //</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &quot;TString.h&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// * ================================ * //</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// * ------- CLASS DEFINITION ------- * //</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// * ================================ * //</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="classFitPars.html">   22</a></span>&#160;<span class="keyword">class </span><a class="code" href="classFitPars.html">FitPars</a></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;{</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="classFitPars.html#a0bcefa9f0b80edd5288535aafcbdf4ea">   25</a></span>&#160;  <a class="code" href="classFitPars.html#a0bcefa9f0b80edd5288535aafcbdf4ea">FitPars</a>() {}</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;  <a class="code" href="classFitPars.html#a0bcefa9f0b80edd5288535aafcbdf4ea">FitPars</a>(<span class="keyword">const</span> TString&amp; input_sig, <span class="keyword">const</span> TString&amp; input_bck);</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;  <span class="keywordtype">void</span>                       <a class="code" href="classFitPars.html#a6c852116cf412e26fb7850c98b3808ff">Print</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;  <span class="keywordtype">void</span>                       <a class="code" href="classFitPars.html#a0297e5b1604663aaa18173dc8e2a696b">Set</a>(<span class="keyword">const</span> TString&amp; input_sig, <span class="keyword">const</span> TString&amp; input_bck);</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classFitPars.html#ab1d020e477b38954e7d5d3da6adf988f">   29</a></span>&#160;  <span class="keywordtype">void</span>                       <a class="code" href="classFitPars.html#ab1d020e477b38954e7d5d3da6adf988f">SetBackground</a>(<span class="keyword">const</span> TString&amp; input) { <a class="code" href="classFitPars.html#a0297e5b1604663aaa18173dc8e2a696b">Set</a>(<a class="code" href="classFitPars.html#aa9755fcfd790c96890db1c2c58826443">fBkgPars</a>, input); }</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classFitPars.html#a3c41ac0783590b60bd121ebb2d53f48e">   30</a></span>&#160;  <span class="keywordtype">void</span>                       <a class="code" href="classFitPars.html#a3c41ac0783590b60bd121ebb2d53f48e">SetSignal</a>(<span class="keyword">const</span> TString&amp; input) { <a class="code" href="classFitPars.html#a0297e5b1604663aaa18173dc8e2a696b">Set</a>(<a class="code" href="classFitPars.html#a340bab668ba5fdd3b34afab1423e0466">fSigPars</a>, input); }</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classFitPars.html#a1757df095e72f863dcc58d820a8e9d4e">   31</a></span>&#160;  <span class="keyword">const</span> std::vector&lt;double&gt;&amp; <a class="code" href="classFitPars.html#a1757df095e72f863dcc58d820a8e9d4e">BackgroundParameters</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classFitPars.html#aa9755fcfd790c96890db1c2c58826443">fBkgPars</a>; }</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classFitPars.html#a88130b5e4b8ae6f455f383105cdf7e8f">   32</a></span>&#160;  <span class="keyword">const</span> std::vector&lt;double&gt;&amp; <a class="code" href="classFitPars.html#a88130b5e4b8ae6f455f383105cdf7e8f">SignalParameters</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classFitPars.html#a340bab668ba5fdd3b34afab1423e0466">fSigPars</a>; }</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;  <span class="keywordtype">void</span>                <a class="code" href="classFitPars.html#a0297e5b1604663aaa18173dc8e2a696b">Set</a>(std::vector&lt;double&gt;&amp; vec, TString input);</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classFitPars.html#aa9755fcfd790c96890db1c2c58826443">   36</a></span>&#160;  std::vector&lt;double&gt; <a class="code" href="classFitPars.html#aa9755fcfd790c96890db1c2c58826443">fBkgPars</a>; </div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classFitPars.html#a340bab668ba5fdd3b34afab1423e0466">   37</a></span>&#160;  std::vector&lt;double&gt; <a class="code" href="classFitPars.html#a340bab668ba5fdd3b34afab1423e0466">fSigPars</a>; </div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;};</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classFitPars_html_a1757df095e72f863dcc58d820a8e9d4e"><div class="ttname"><a href="classFitPars.html#a1757df095e72f863dcc58d820a8e9d4e">FitPars::BackgroundParameters</a></div><div class="ttdeci">const std::vector&lt; double &gt; &amp; BackgroundParameters() const</div><div class="ttdef"><b>Definition:</b> <a href="FitPars_8h_source.html#l00031">FitPars.h:31</a></div></div>
<div class="ttc" id="classFitPars_html_a6c852116cf412e26fb7850c98b3808ff"><div class="ttname"><a href="classFitPars.html#a6c852116cf412e26fb7850c98b3808ff">FitPars::Print</a></div><div class="ttdeci">void Print() const</div><div class="ttdoc">Print all loaded values. </div><div class="ttdef"><b>Definition:</b> <a href="FitPars_8cxx_source.html#l00023">FitPars.cxx:23</a></div></div>
<div class="ttc" id="classFitPars_html_a88130b5e4b8ae6f455f383105cdf7e8f"><div class="ttname"><a href="classFitPars.html#a88130b5e4b8ae6f455f383105cdf7e8f">FitPars::SignalParameters</a></div><div class="ttdeci">const std::vector&lt; double &gt; &amp; SignalParameters() const</div><div class="ttdef"><b>Definition:</b> <a href="FitPars_8h_source.html#l00032">FitPars.h:32</a></div></div>
<div class="ttc" id="classFitPars_html_a340bab668ba5fdd3b34afab1423e0466"><div class="ttname"><a href="classFitPars.html#a340bab668ba5fdd3b34afab1423e0466">FitPars::fSigPars</a></div><div class="ttdeci">std::vector&lt; double &gt; fSigPars</div><div class="ttdoc">Vector of parameters for the signal. </div><div class="ttdef"><b>Definition:</b> <a href="FitPars_8h_source.html#l00037">FitPars.h:37</a></div></div>
<div class="ttc" id="classFitPars_html_a3c41ac0783590b60bd121ebb2d53f48e"><div class="ttname"><a href="classFitPars.html#a3c41ac0783590b60bd121ebb2d53f48e">FitPars::SetSignal</a></div><div class="ttdeci">void SetSignal(const TString &amp;input)</div><div class="ttdef"><b>Definition:</b> <a href="FitPars_8h_source.html#l00030">FitPars.h:30</a></div></div>
<div class="ttc" id="classFitPars_html_aa9755fcfd790c96890db1c2c58826443"><div class="ttname"><a href="classFitPars.html#aa9755fcfd790c96890db1c2c58826443">FitPars::fBkgPars</a></div><div class="ttdeci">std::vector&lt; double &gt; fBkgPars</div><div class="ttdoc">Vector of parameters for the background. </div><div class="ttdef"><b>Definition:</b> <a href="FitPars_8h_source.html#l00036">FitPars.h:36</a></div></div>
<div class="ttc" id="classFitPars_html_a0bcefa9f0b80edd5288535aafcbdf4ea"><div class="ttname"><a href="classFitPars.html#a0bcefa9f0b80edd5288535aafcbdf4ea">FitPars::FitPars</a></div><div class="ttdeci">FitPars()</div><div class="ttdef"><b>Definition:</b> <a href="FitPars_8h_source.html#l00025">FitPars.h:25</a></div></div>
<div class="ttc" id="classFitPars_html"><div class="ttname"><a href="classFitPars.html">FitPars</a></div><div class="ttdef"><b>Definition:</b> <a href="FitPars_8h_source.html#l00022">FitPars.h:22</a></div></div>
<div class="ttc" id="classFitPars_html_a0297e5b1604663aaa18173dc8e2a696b"><div class="ttname"><a href="classFitPars.html#a0297e5b1604663aaa18173dc8e2a696b">FitPars::Set</a></div><div class="ttdeci">void Set(const TString &amp;input_sig, const TString &amp;input_bck)</div><div class="ttdoc">Private helper function to set all values at once. </div><div class="ttdef"><b>Definition:</b> <a href="FitPars_8cxx_source.html#l00016">FitPars.cxx:16</a></div></div>
<div class="ttc" id="classFitPars_html_ab1d020e477b38954e7d5d3da6adf988f"><div class="ttname"><a href="classFitPars.html#ab1d020e477b38954e7d5d3da6adf988f">FitPars::SetBackground</a></div><div class="ttdeci">void SetBackground(const TString &amp;input)</div><div class="ttdef"><b>Definition:</b> <a href="FitPars_8h_source.html#l00029">FitPars.h:29</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bfccd401955b95cf8c75461437045ac0.html">inc</a></li><li class="navelem"><a class="el" href="dir_ce6502d3a96470429ccea0d9a3b2b984.html">Fit</a></li><li class="navelem"><a class="el" href="FitPars_8h.html">FitPars.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
